<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script>
function setRenovateViolitionId(id){
	parent.setRenovateViolitionId(id);
}
function setSize() {
  parent.window.document.all('renovateViolationList').style.height=document.body.scrollHeight;
}
function showDetail(id){
	var url = "${ctx}/renovation_renovateViolationAction.do?method=getRenovateViolationDetail&renovateViolationId="+id;
    top.windowOpen(url, "renovateViolationDetail", "装修监管详细", 600, 800);
}
</script>
</head>
<body onload="setSize()">
<div style="overflow: auto; height: 350px;"><ec:ceTable
	items="renovateViolationList"
	action="${ctx}/renovation_renovateViolationAction.do?method=queryRenovateViolationList"
	var="renovateViolationItem" view="pmsview" styleClass="gridData2"
	rowsDisplayed="15">
	<ec:ceRow styleClass="grid"
		ondblclick="showDetail(${renovateViolationItem.keyword })"
		onclick="setRenovateViolitionId('${renovateViolationItem.keyword}')"
		onContextMenu="return ShowContextMenu(event,'quick_rightmenu')">
		<ec:ceColumn headerCell="pmsHeadrCell" title="装修许可证号"
			property="renovateLicenceNO" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="房号"
			property="houseNumber" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="业主姓名" property="owner" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="检查人" property="checkMan" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="检查日期"
			property="checkDateStr" sortable="true" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="违规类别"
			property="categoryName" sortable="true" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="整改完成日期"
			property="completeDateStr" sortable="true" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="责任部门"
			property="deptName" sortable="true" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="状态" property="stateName" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="验收日期"
			property="checkPassDateStr" />
	</ec:ceRow>
</ec:ceTable></div>
<div id="quick_rightmenu" style="display: none;"
	oncontextmenu="return false" class="quick_menu2"
	onMouseOver="showmy2menu('quick_rightmenu')"
	onMouseOut="hidden2menu('quick_rightmenu')">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
	class="grid_quickMenu_bg">
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="2" cellspacing="0">
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=addRenovateViolation">
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.openRenovateViolationAdd();" onFocus="this.blur()"><img
						src="${ctx}/images/ico_newfile.gif" alt="新建违规登记" width="16"
						height="16" border="0" align="absbottom" /> 新 建</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=editRenovateViolation">
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.openRenovateViolationEdit();"
						onFocus="this.blur()"><img src="${ctx}/images/ico_amend.gif"
						border="0" align="absbottom" alt="修改" /> 修 改</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=deleteRenovateViolation">
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.showRenovateViolationDelete();"
						onFocus="this.blur()"><img src="${ctx}/images/ico_delete.gif"
						alt="删除" width="16" height="16" border="0" align="absbottom" /> 删
					除</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=initRenovateViolationHandle">
				<tr>
					<td class="hrpading">
					<table width="95%" border="0" align="left" cellpadding="0"
						cellspacing="0">
						<tr>
							<td class="quickMenu_line"></td>
						</tr>
					</table>
					</td>
				</tr>
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.violationHandler();" onFocus="this.blur()"><img
						src="${ctx}/images/ico_zyjh.gif" alt="违规处理" width="16"
						height="16" border="0" align="absbottom" />&nbsp;违规处理</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=initReformMain">
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.checkFinish();" onFocus="this.blur()"><img
						src="${ctx}/images/ico_check.gif" alt="完工验收" width="16"
						height="16" border="0" align="absbottom" />&nbsp;完工验收</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=initReformCheck">
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.checkPass();" onFocus="this.blur()"><img
						src="${ctx}/images/ico_pass.gif" alt="整改验收" width="16"
						height="16" border="0" align="absbottom" />&nbsp;整改验收</a></td>
				</tr>
			</pms:AuthTag>
			<pms:AuthTag
				authName="renovation_renovateViolationAction.do?method=initFollowMain">
				<tr>
					<td class="hrpading">
					<table width="95%" border="0" align="left" cellpadding="0"
						cellspacing="0">
						<tr>
							<td class="quickMenu_line"></td>
						</tr>
					</table>
					</td>
				</tr>
				<tr>
					<td class="quickMenu_toolbarico"><a href="#"
						onClick="parent.renovateFollow();" onFocus="this.blur()"><img
						src="${ctx}/images/ico_Follow.gif" alt="整改跟进" width="16"
						height="16" border="0" align="absbottom" />&nbsp;整改跟进</a></td>
				</tr>
			</pms:AuthTag>
		</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
	var div1=document.getElementById('quick_rightmenu');
	if(div1.getElementsByTagName("tr").length==1){
		div1.innerHTML="";
	}
</script></div>
</body>
</html>